From 4366a21eaed655bdbff8cf8c94a1a9796d36aafa Mon Sep 17 00:00:00 2001 From: QGJ Date: Sun, 7 May 2023 18:05:42 +0200 Subject: yuzu/applets/qt_profile_select: connect double-click to accept() In the profile selection window: Allow the user to start the game by double-clicking a profile to avoid having to additionally click the OK button. This avoids an unnecessary "step" to the start of the game... --- src/yuzu/applets/qt_profile_select.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/yuzu/applets/qt_profile_select.cpp b/src/yuzu/applets/qt_profile_select.cpp index 2448e46b6..1f3f23038 100644 --- a/src/yuzu/applets/qt_profile_select.cpp +++ b/src/yuzu/applets/qt_profile_select.cpp @@ -95,6 +95,7 @@ QtProfileSelectionDialog::QtProfileSelectionDialog( scroll_area->setLayout(layout); connect(tree_view, &QTreeView::clicked, this, &QtProfileSelectionDialog::SelectUser); + connect(tree_view, &QTreeView::doubleClicked, this, &QtProfileSelectionDialog::accept); connect(controller_navigation, &ControllerNavigation::TriggerKeyboardEvent, [this](Qt::Key key) { if (!this->isActiveWindow()) { -- cgit v1.2.3